package com.zark.myspringboot.web.listeners;

import org.springframework.boot.context.event.ApplicationPreparedEvent;
import org.springframework.context.ApplicationListener;

public class ApplicationPreparedListener implements ApplicationListener<ApplicationPreparedEvent> {

	@Override
	public void onApplicationEvent(ApplicationPreparedEvent event) {
		System.err.println("ApplicationPreparedEvent -- spring boot上下文context创建完成，但此时spring中的bean是没有完全加载完成的。");
	}

}
